package kr.saeildamil.androidstudty.ch14;

import android.content.Context;
import android.util.AttributeSet;
import android.util.Log;
import android.widget.Button;

public class AttrButton extends Button {

	public AttrButton(Context context, AttributeSet attrs) {
		super(context, attrs);
		int i;
		String name;
		String value;
		String mText="";
		
		for(i=0; i<attrs.getAttributeCount(); i++){
			name=attrs.getAttributeName(i);
			value=attrs.getAttributeValue(i);
			Log.d("AttrButton",name+"="+value+"\n");
		}
	}

}
